import axios from 'axios';
import {Post, Get} from './axiosFun';

//获取用户
export const getUserById = (params) => { return Post("/streetdance/user/getUserById", params) };
//修改信息
export const updateUser = (params) => { return Get("/streetdance/user/update", params) };
//修改密码
export const changePassword = (params) => { return Post("/streetdance/user/changePassword", params) };
//修改头像
export const uploadAvatar = (params) => { return Post("/streetdance/user/uploadAvatar", params) };
